home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1994 / MacHack 1994.toast / MacHack™ 1987-1994 / MacHack™ '91 / Hacks '91 / Makin' Copies / Source / pStr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-06-16  |  685 b   |  27 lines  |  [TEXT/KAHL]

  1. /*pascal format string functions written by and property of: Eric J. Hayes*/
  2. /*non-profit use of this header must be accompanyed by a credit to myself.*/
  3. /*sale of all or any part of this header or it's library prohibited without*/
  4. /*written permission of myself */
  5. /* ®1987-1991 Eric J. Hayes*/
  6.  
  7.  
  8. #pragma mark  PROTOS
  9.         void pStrCpy(char*,char*);
  10.         void pStrCat(char*,char*);
  11.         void pRightJust(char*,short);
  12.         short pStrCmp(char*,char*,short,short,short);
  13.  
  14.  
  15. /*pStrCmp calling modes*/
  16.         #define    str_equals     1
  17.         #define    str_contains 2
  18.         #define    str_starts     3
  19.         #define    str_ends     4
  20.  
  21.  
  22. /*return codes*/
  23.         #ifndef _GOODBAD_
  24.         #define _GOODBAD_
  25.         #define    GOOD         1
  26.         #define    BAD             0
  27.         #endif